A household earning the average income would need to spend 40% of its income to afford the typical U.S. home, according to Redfin.