With higher mortgage rates and home prices squeezing affordability, a key indicator of the housing market’s near-term health signals more sector struggles, the National Association of Realtors said.