This is not at all the case in Christian doctrine that I'm aware of. "Gay" is a sexual orientation, and Christians including Catholics have no objection to sexual orientation per se. However it is possible to object to disordered sexual practices, such as heterosexual fornication that inherently denies the true human dignity of those who are objectified by such practices, and also to other practices that are similarly objectifying and involve victimization and denial of human dignity.
Separately, Christian doctrine also objects to those who "put a stumbling block in the blind's path" by promoting destructive practices e.g. via ideology or lifestyle, and unfortunately a sizeable part of so-called LGBTQ+ social activism has not clearly spoken out against objectifying and disordered practices, and in many cases has promoted them quite irresponsibly. However this is always a critique of some highly-visible social activist movements, never of sexual orientation itself!