I don't know much about Turkish politics but I think Erdogan needs the ultranationists votes even though he and his cabinet may not have crazy ideas about Xinjiang. It's pretty obvious China prefers to deal with other Turkish parties, sadly Putin had to save Erdogan. Honestly without Putin, Erdogan would have been couped already.It goes both ways. If they keeps feeding domestic audience crazy shits, they will be forced to act crazy.
If you ask me, souring relationship with most important economic country over weird territory claims is absurd. Like, there is 0 chance they are getting these disconnected territory fighting a nuclear superpower over it. Nor would the population submit to their rule. They have better chance rebuilding Ottoman empire in middle east than lusting over landlocked regions half continent away.
I wonder how much contact China has with the kurds in Turkey