Home buyers today are navigating elevated mortgage rates and high prices that have been blamed for straining budgets. At first glance, new construction—which often carries a premium over resale homes—may seem out of reach. But a new study shows the price gap between newly built and existing homes has fallen to a record low.