[Hackday] [2.7] Add a deprecation note about RegisterListenersPass
minor #12645 [Hackday] [2.7] Add a deprecation note about RegisterListenersPass (jzawadzki)

This PR was squashed before being merged into the 2.7 branch (closes #12645).

Discussion
----------

[Hackday] [2.7] Add a deprecation note about RegisterListenersPass

| Q             | A
| ------------- | ---
| Fixed tickets | #12633
| License       | MIT

Commits
-------

9938179 [Hackday] [2.7] Add a deprecation note about RegisterListenersPass