The first is a good question. Some children express a persistent sense of being the other sex very early in life. Others, while they might have had a long-standing sense that something was wrong — ‘something was off’, ‘I wasn’t me’ — take longer to acquire the cultural understanding and vocabulary to articulate their experience. For others still, the issue doesn’t become a problem until their body starts to change at puberty and they realise it isn’t developing in a way that fits their internal sense of their sex. And others know but fear the social consequences of coming out. None of that is Stonewall; it’s what the people concerned describe - and there's a vast academic and clinical literature documenting this.
On the phantom limb — I'm not sure what point you are making? It occurs because of the brain’s map of the body persists regardless of the physical anatomy itself. The brain carries such a map, it’s laid down in development, and it can diverge from the anatomy.
In terms of chromosomes: yes, in recent years it has become much more common to do genetic prenatal testing, which can also reveal sex. Nobody is saying chromosomes can’t be read or aren’t real — Ebola is a virus whether or not we have a word for it. But it remains the case that this isn’t how sex is assigned. That happens at birth, on the basis of visible anatomy. It almost always aligns with chromosomes anyway, and where it doesn’t, chromosomes are not what determines assignment.
As for sex selective abortion - nobody got the chromosomes wrong, chromosomes are real. The test read them correctly. What the test can’t tell you is who that child will become, because a chromosome is a chromosome, it is not a person. And note, the female foetus is aborted in this cases, not because of anything the chromosomes do, but because of what society has decided a girl is worth. Which is my point about the words 'girl', 'woman', - the meaning that society infuses in these categories is never just the material fact of the chromosomes - to pretend that it is is reductive and false. "Sex" is not a just a descriptor of material facts about the body, it is a word that carries psychological, social, cultural, legal etc, meanings.