Add C++ wrapper for puglSendEvent
This function is a bit trickier to wrap than the others, because it requires constructing an event, which the current wrapper does not support nicely in a type-safe way.
This might require writing bespoke wrappers for every event, which would be a lot of tedious boilerplate, but would make for a nicer C++ API in general.