Chemicals that protect clothing from water or stains do so because they're tough — so they stick around in the environment a long time. Apparel makers are looking for alternatives.