The question should not be whether or not J-20 is superior to the Raptor. The question you should ask is battlefield survivability. And that does not just involve F-22 and J-20; you also need to factor in a whole range of support weaponry and service support element.
Take Operation Absolute Resolve, for example (Where the US flew in Venezuela and captured Maduro). Single-up, I don't think that's replicable for any country, including China, to replicate, because you do not just fly in F-22 or whatever alone and think that would be enough, even if you have a state-of-the-art fighter like the J-20 or F-22 or F-35.
The problem is, when a J-20 meets an F-22 in hostile skies, it won't just be a 1-on-1 fight; you will have a series of support elements behind the F-22, things like EC-130, EA-18G, E-767/E-7 Wedgetail, and so on. The question you should ask is: can PLAAF come up with a combo to defeat all these