Prime Minister Keir Starmer of Britain, speaking at a news conference after hosting a meeting of 18 European leaders, said on Sunday that European countries would ramp up their military spending and assemble a coalition to defend Ukraine against Russia.