Add a couple of test for wallet notifications.
Backport note:
The original PR created conflicting transactions using to RBF trickery, which is not available the eCash blockchain.
So this is a minimal backport, just to have the `expect_wallet_notify` method and the HD wallet seed synchronization, which will be used in future backports (e.g. [[https://github.com/bitcoin/bitcoin/pull/18982 | core#18982]]).
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/18878 | core#18878]]