John Swinney has thanked the son of Donald Trump as he became the first member of the US President's family to visit Bute House.