US home prices have reached record highs, with President Trump dismissing a bipartisan bill aimed at addressing affordability, creating a political flashpoint ahead of midterm elections.