I don't see a reason why China would prefer Trump to lose. What Trump was doing for sure made China uncomfortable in short term. But in the long run, it would benefit China a lot as he was forcing China to do something it deemed unnecessary or uneconomically in the past and thus depended on external sources. He did in fact helped China to recognize its weaknesses and forced it taking action to rectify them. Once the painful process is finished, then what?
China is the epicenter of the worst pandemic in decades and does a terrible job in preventing it from spreading to other countries. Now China is trying to put senile, weak, and easy to manipulate Biden in the white house. There is unrest and suffering in most democracies for something that came out from a communist authoritarian regime. I hope the next US president imposes more economic sanctions on China, and I doubt Joe, who hasn't impose any sanctions in his 47-year political career, can get it done.