All-cash buyers are becoming more common, despite a housing market that’s been struggling with affordability issues.