U.S. stocks have been soaring in recent weeks. But in China, the market has been headed in the opposite direction, and the government in Beijing is starting to pay attention.