Investors worried about China’s economy shunned Hong Kong’s stock market, once one of the biggest and most important in the world.