The historic word you’re talking about is “zakar.” It just means male, and it has nothing to do with age. It has to do with gender.
Even if you want to put that aside, think about it in context of the verse itself. If it was really talking about pedophilia, the verse should say you shall not lie with a man as with an ADULT. But instead, it says as with a woman. It’s providing a difference based on gender, not age.
Furthermore, it should also say you shall not lie with a girl as with a woman since straight is the default especially in context of the Bible. But no, this verse is going out of its way to say man.
Even if you want to put THAT aside, there are no other verses in the Bible that condemn pedophilia while there are at least 5 other verses that condemn homosexuality.
But why does it matter to you? Why can’t you just accept that the Bible condemns being gay? You don’t believe in it anyway. It doesn’t affect you at all.