US president says ‘framework of a future deal’ over the Danish territory agreed following talks with alliance’s Mark Rutte