The "trolley problem" is literally never a valid argument for anything because it purports to create an analogy for a real world problem but does so by creating a scenario that cannot exist, hence any argument based on it is nonapplicable to "real" problems.
You think that kind of scenario cannot exist? That is your reasoning for dismissing it? You’ll hafta do better than that.