There are a lot less LGBT representation in media than a lot of people think there is, especially when you consider how rare it is to have a gay character that's not just a minor supporting character. How many mainstream movies actually have a gay lead? Virtually none.
As for this standard that a gay character should only be there if it serves the plot, that's an incredible double standard, as heterosexual characters's orientation often don't serve the plot. A gay character can be in a story without their orientation being a plot point, just like Uhura can be black without her race being a plot point.
As for religion and Trek, I remember a sci fi show that did have a subplot about introducing a vast diversity of religious people to an alien, but I think that may have been Babylon 5.
As for this standard that a gay character should only be there if it serves the plot, that's an incredible double standard, as heterosexual characters's orientation often don't serve the plot. A gay character can be in a story without their orientation being a plot point, just like Uhura can be black without her race being a plot point.
As for religion and Trek, I remember a sci fi show that did have a subplot about introducing a vast diversity of religious people to an alien, but I think that may have been Babylon 5.