For the past three decades, China has been a nation of homeowners. But a slowing economy and crisis-battered housing market could upend that.