Sir Keir Starmer will be the first British Prime Minister to attend an EU leaders’ meeting since Brexit.