Red states are building new housing, a new study shows, while blues states like New York lag behind. There may be political consequences.