Those coastal, tech hubs that sparked buyer interest in past years are fleeing the scene, making way for a new trend—inland regions are making a comeback.