doc: change eventName type annotations
Change type annotations for eventName in events API doc from {any} to {string|symbol} to be consistent with doc changes made in #17440.
Fixes: https://github.com/nodejs/node/issues/17657
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc