All around the country, the cost of housing is driving people out of places with the most economic opportunity.