Ukraine's president has discussed the idea of possibly swapping territories with Russia in future peace negotiations with President Donald Trump.