Are you inside the trans rights movement and have seen this happen first hand, or can you cite an advocate for trans rights that was shunned by the community? What you describe is an interesting hypothetical problem. In my experience as a trans person participating in the trans community, it is completely divorced from the reality of the situation. People aren’t “canceled” because they aren’t ideologically pure. It’s the opposite, actually.
Trans people often need to grapple with “internalized transphobia”. I experienced this firsthand when I realized I was trans and then felt a wave of disgust and horror. I felt it the first time I went to a trans group meetup and felt embarrassed to be seen with trans people. I felt it every time I was terrified of anyone knowing I was trans. I’m not alone in having these experiences, but my experiences were probably more on the extreme side. Almost no trans person has the luxury of being entirely free of internalized transphobia, and internalized transphobia can manifest in one’s political beliefs. If we shunned every single person who ever disagreed with the “groupthink” then there wouldn’t be anyone left. By necessity, we need to welcome and encourage the process of people learning and growing.
That’s a far cry from the idea that the trans community expels anyone who is critical of them.