China has grown comfortable with Trump’s transactional diplomacy. A Democratic Congress could complicate Beijing’s calculations – and remind the world of U.S. democracy’s strength.