Homebuilders across the country are betting on high-end townhouses to try to get more millennials into homeownership.