I mean, Trump was prosecuted as well and plenty of people want to put him in jail. My point is these kinds of things can't really be argued purely from a meta-level, the actual specifics matter. And in the case of China and Xi, I certainly don't know the specifics and I doubt most people here do either.
Trump was actually convicted of a felony in New York even though he wasn't put in jail. Trump wants to throw his political enemies in jail without due process, very different thing.