European Union lawmakers declared a “climate emergency” on Thursday in a symbolic vote that heightens pressure for action against global warming at an upcoming summit.