As President Biden predicts a struggle between democracies and their opponents, Beijing is eager to champion the other side.