The lawsuit says Thinx underwear, long marketed as safe and sustainable, contains harmful chemical substances known as PFAS. The company denies those allegations but will pay up to $5 million.