Semenya is one of those vanishingly rare people whose phenotype and sex chromosomes have never coincided. The gender ideologues want to draw an equivalence between such people and those who are under the delusion that surgery, hormone treatments, crossdressing and being called pronouns corresponding to the sex into which they have made themselves a simulacrum will make them the opposite sex that they (for whatever reason) long to be. There is no equivalence.
Semenya was raised as a girl because she (yes, I'll use that pronoun in this case) has, from birth, had female genitalia, with her gonads located in her body cavity where ovaries usually are, even though they are testicles. Cases where the person's natural phenotype and sex chromosomes do not coincide require compassion, not ideological exploitation (by either side).