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. core#18982).
This is a backport of core#18878