Controversy over a New Zealand MP who taught English to Chinese spies is just the latest in a series of events undermining Beijing in the court of public opinion