US President Donald Trump has hinted he does not fully back Britain's decision to ban the import of goods from illegal Israeli settlements.