In some markets, renting and investing can build wealth faster than buying a house.