[backport#19507] Add zmq test for transaction pub during reorg
Summary:
https://github.com/bitcoin/bitcoin/pull/19507/commits/a0f4f9c983e57cc97ecbc56d0177eaf1854c842c
note: disconnect_cb variable isn't used in this commit, it is and will
be introduced in the next
Depends on D7347
Partial backport of Core PR19507
Test Plan:
test_runner.py interface_zmq
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D7348