Buyers are flocking to the Midwest to find affordable homes—but they are bringing up prices there, new data shows.