President Bashar al-Assad has said Donald Trump could be a “natural ally” in the fight against terrorism.