Updated event_listener.rst

Updated event_listener.rst to use the new KernelEvent::isMasterRequest method

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.4+
| Fixed tickets | none