The median sale price for a new house in the U.S. hit $457,800 in 2022, according to a Bank of America report.