No, no, no, these answers are wrong.
Heresy within the Catholic Church has very specific delineations. To begin, heresy requires 'public' and 'obstinate' denial of 'doctrinal imperatives'.
Next, the Church delineates between formal heresy and material heresy. As a priest, it could be possible that his opinions about homosexuality and transgender issues come from a 'good faith' error in judgement and, therefore, he might not be acting as a heretic at all. AND: even if it was still heresy, being guilty of material heresy does not count as a sin.
See "Entry on Heresy", Catholic Encyclopedia, New Advent, 1912.
It is even more complicated still. The Church makes a distinction between manifest, occult, public or private heretics. And each of these can be further weighted by four degrees of severity between 'pertinacious adhesion' to 'heretical savoring'.
So, it is clear that any casual observers outside the Church aren't at all qualified to make any declarations about whether certain opinions or beliefs qualify as heresy. It would make more sense to call them dissenters, as this is a term without an official definition in Church doctrine.
If one looks at the Church's actions regarding actual incidents of priests or other Church officials breaking with Church teachings on homosexuality, you will get a mixed bag that includes more or less tolerance depending on each case. I'm not aware of any contemporary case in which anyone was declared a heretic based on their opinions on these matters.
The other answers here are making the church out to be more intolerant than it is.
See also:
van Noort, Gerardus Cornelis (1959) [1957]. "Chapter II – Article I". Dogmatic Theology. Vol. 2: Christ's Church. Translated by Castelot, John Joseph; Murphy, William Robert. Westminster, Maryland: The Newman Press. p. 237. "The generic terms of the proposition [Members of the Church are all and only those who have received the sacrament of baptism, and are not separated from the unity af the profession of the faith, or from hierarchial unity.] (particularly the second part of it) cover a variety of categories of people: 'formal' and 'material' heretics: 'public' and 'occult'—heretics; 'formal' and 'material' schismatics; 'total' and 'partial' excommunicates; etc. Since the theologians are not all of one mind in discussing some of these categories, they differ in some of the theological labels they append to each category considered singly."