US President Donald Trump and his officials are "actively" discussing a potential offer to buy the Danish territory of Greenland, the White House has confirmed.