European allies who regularly clashed with Trump over defense spending and trade were among some of the first to congratulate President-elect Biden.