The federal agency that enforces workplace anti-discrimination laws has moved to dismiss a lawsuit on behalf of a worker allegedly fired for sexual orientation.