A victory for Donald Trump in the US presidential election could upend relations with the EU on issues from trade to security and aid for Ukraine.