Surfactant for textiles