Rising inventory, high mortgage rates and a growing seller-buyer gap leave homes sitting longer on the market.