That line of thinking doesn't make sense since Xinjiang is part of China while Gaza isn't part of Israel. One is a domestic question, the other isn't (going by the international recognition).
I don't see folks buying that, sorry. In international realpolitik you play the cards you have and if your rival opens themselves up for criticism you play it.