Chinese nationals are the top foreign buyers of U.S. homes, but in recent weeks they have started to pull back, scared off by their country’s stock slump and weakening economy.