Defence spending will increase to 2.5% of GDP by 2027 while the foreign aid budget will be cut, Sir Keir Starmer has announced ahead of a meeting with Donald Trump.