Criticism of the French president’s performance in Beijing has been scathing among some allies, who saw him as cozying up to Beijing.