New-home prices drop to a three-year low, even as sales improve in 2024