As housing costs hit record highs, the dream of homeownership is slipping further out of reach for many Americans.