It has nothing to do with trans. This is another Caster Semenya type of situation.
That wiki article on Khelif is wrong. There was an interview with Khelif's trainer where he said there is a "problem with chromosomes" and "problem with hormones" and that Khelif is now having testosterone levels lowered medically. The XY karyotype test results of Khelif have been quoted and reported on by sports journalists.
Anyway if Khelif by some miracle isn't male then there should be no concern about this sex screening that World Boxing have introduced. It will only disqualify boxers who shouldn't be competing in the female category.