Former President Donald Trump urged a ceasefire in the Russia-Ukraine war and hinted at a potential US withdrawal from NATO.