E-cigarette company Juul reached a $22.5 million settlement in a lawsuit brought by the state of Washington that accused it of marketing its product to underage buyers.