A subsidiary of Japanese glass-maker AGC has lost a lawsuit filed by a female clerical worker seeking damages for indirect gender discrimination.