Obviously not the kind of question she can be asked directly, I guess!
This, from Wikipedia, perhaps gives a clue that she does not.
Khelif grew up in a rural village in Tiaret Province, in northwestern Algeria.[2] She originally played football before switching to boxing. In her early years, she had to commute to a neighboring village to attend training sessions, and sold scrap metal to afford the bus fare.[3] She mentioned that her father initially did not allow her to participate in sports because "he did not approve of girls boxing
It also mentions that changing gender is illegal in Algeria so presumably, at whatever age she found out, she wouldn't have been able to just start living as a man instead, even if she had wanted to.
I don't think this means she should be able to compete. But it does mean I can sympathise with someone who has always boxed, as a woman, would/should lose her dreams through something outside of her control. She isn't even at the top of her sport, she is regularly beaten by better women.
It would be very different if she had discovered her DSD and then thought - 'oh, I know, I'll start training for a sport where it's likely that I'll be able to beat up people smaller and weaker than me and win lots of competitions'.