A federal appeals court is weighing whether to certify a class action that could engulf more than 330 million people—99% of the United States population—who were exposed to toxic chemicals made by 3M, DuPont and others.