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. This minimal backport
is still useful for 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