Chinese leadership has replaced the head of their securities regulator as it seeks to shore up the country's ailing stock market.