NEW YORK—Electronic cigarette-maker Juul Labs Inc. will pay $462 million to six states and the District of Columbia, marking the largest settlement the company has reached so far for its role in the youth vaping surge, the attorneys general in several states announced Wednesday. The agreement with New York, California, Colorado, Illinois, Massachusetts, New Mexico,…