Is it possible to retrieve ID of user who closed prediction?

if it’s closed via the API then it will report that the streamer did it.

EventSub doesn’t report whom does it either (either open or closed)

Otherwise no you have a frontend query which we don’t touch.
So no there are no third party stuff for monitoring which mod did an action relating to predictons (or polls).