Sir Keir Starmer will become the first Prime Minister since Brexit to attend a meeting of EU leaders as he continues efforts to reset relations with the bloc.