Do you also believe the Church "discriminates" against those who publicly champion heterosexual fornication? Does it "discriminate" against those who publicly promote pornography and masturbation? Because the Church opposes those as well. Is that "discrimination" in your eyes? Or is it only the Church's views on homosexuality that you deem to be "discrimination?"
As to being "anxious about latent tendencies"...do you think everything the Church opposes on moral grounds is a "latent tendency" of priests? Maybe it is. After all, a "latent tendency" is just a temptation, and we are all subject to temptation. Sexual orientation is not a sin, but I suppose it can be a form of (or a manifestation of) temptation.
And, by the way, before the discussion gets rolling, let's note one thing: The Church doesn't fire people who have homosexual orientation. The Church fires those people who engage in public endorsement of teachings that are contrary to Church doctrine when those people are also responsible for teaching Church doctrine. Put another way, it is not private sin that gets these people fired. It is not that they are tempted by homosexual behavior, and it is not even that they engage in homosexual behavior. Rather, it is "public scandal" that gets them fired...e.g., by engaging in a public act. I use the word "scandal" in a very technical sense that the Church has used for thousands of years. A person cannot teach something to the children that they disagree with publicly. There is a conflict of interest. Catholic school teachers commit to this when they hire on...to not contradict publicly (and therefore to the children) that which they teach to the children. Basically, these teachers have violated their contract. And, Church's have a legal right to only hire believers to teach their beliefs. This is a well settled principle.
Oh, and regarding your final unrelated point: The leaders of the Church have never been protected from personal sin. There will always be individuals who take advantage of the system to effect their personal sinful desires. That is not a reason to eliminate or doubt the system which condemns those personal sinful desires.