With prices and mortgage rates high, people are “buying at the edge of what they can qualify for,” a real estate economist says.