It would of course be illegal to not employ someone solely on the basis of a protected characteristic.
That said...
There's usually a bit at the end of the interview where the panel say "Do you have any questions for us?" That's a good moment to ask about any accomodations that might be necessary for a particular PC you might have.
Such as, "I have restricted mobility, how accessible is your building?"
Or, "I'm Muslim, do you have a space that can accomodate prayers at the appointed times?"
Or, "I'm Jewish and I keep kosher, do you have vegetarian options in your canteen?"
My memory of that AIBU thread is that the OP's daughter was going into interviews and beginning with "I'm non-binary and my pronouns are they/them" and monologuing about it. This is wrong. I can't imagine what special accomodations an enby might need, but the time to mention that, if you need to mention it, is at the end.
If you go in and put your baroque gender identity on full blast, and generally act as if you're doing the employer a favour by agreeing to be interviewed, the interview panel might reasonably conclude that you're not really interested in the job.