`Abdu'l-Bahá stated that "when a religion is opposed to science it becomes mere superstition"
So let's weigh that with the Baha'i faith - is the Baha'i faith properly aligned with science, including on LGBTQ+? Is it fully up to date?
Yes it most definitely is. And is way ahead of current thinkers on many topics.
Science does not know everything there is to know. It is evolving, discovering and discarding previous held notions as it comes to understand new realities.
God is All Knowing, Infallible and has Perfect Knowledge of everything unlike science.
Sometimes when God speaks through His Prophets or Manifestations He may reveal a principle or truth which we have not yet grasped fully so we may object to it and oppose it.
The true touchstone of all knowledge scientific, moral or otherwise i believe is the Word of God not the hypothesis, conjectures and theories of men no matter how sound they may seem. Man’s reason errs, God’s knowledge is perfect. Man makes mistakes of judgement God is never wrong.
If God makes a statement on any topic moral or otherwise through His Representative I fully believe He is correct and right and it will be proven to be correct in time as we mature even though it may be currently opposed.
Through Baha’u’llah, God has spoken on these kinds of matters ( homosexuality) mentioned by the OP so in time His Counsel will be proven to be correct and true even if now it is vehemently opposed. This is my firm conviction that where knowledge is concerned God trumps man’s finite mind always without any doubt.
“While it may often be the part of wisdom to approach individuals or an audience from a standpoint of current knowledge,
it should never be overlooked that the Revelation of the Manifestation of God is the standard for all knowledge, and scientific statements and theories, no matter how close they may come to the eternal principles proclaimed by God’s Messenger, are in their very nature ephemeral and limited.” (Universal House of Justice, Scholarship, p. 37)