Terror in Bangkok creates a new headache — for China