Interesting way to look at it, but I still dont see where the force is acting on the object going through the portal. The object is not in motion and will stay in that state unless something acts upon it, so where is the energy coming from to act on the object?
To make it clear from the start: I agree 100% with B - there has to be movement, because without it, people wouldn’t come out of the portal at all. And if there is a movement, then the only reasonable speed would be that of the train.
But: Your question about the energy is still interesting. It must come from somewhere. And I think, the only source, from which it can come, is the train. That is, the train would lose energy and therefore slow down.
The portal moves towards the people. It’s a hole. Momentum won’t transfer from nothing as the hole is the one moving.