Britain’s main opposition Labour Party named Keir Starmer, a former director of public prosecutions who opposed the country’s exit from the European Union, as its leader on Saturday.