Be careful when hiding entire posts, there's a risk of breaking the infinite page loading logic. Because it looks at whether post x out of x is at a certain place in the viewport, which could be completely off if some posts have a computed height of 0px.
The most reliable way to hide the event posts while still generating them would be using a visibility scoper (PHP API).
If you never want those event posts, then the ideal solution would be to hook into the extensions that generate them and suppress the post creation. Not all extensions might allow doing this from a third-party extension. This might require forking some of the extensions, or using logic to delete the event post immediately after its creation.