Thinx, a women’s underwear designer that became a symbol of startup dysfunction, is trying to overcome scandals with direction