A woman is taking legal action against an NHS gender clinic which treated her as a teenager.