LPS-45457 Make method static

Hey Brian,

Sorry, we missed this. I've also added the static modifier to the removePortalEventListener method. By the way I haven't found any use of this method in the portal nor in the plugins. It was added by @shuyangzhou and @tinatian as part of LPS-43608 so maybe they can please check it.

Thanks