partial Merge #14822: bench: Destroy wallet txs instead of leaking their memory
partial Merge #14822: bench: Destroy wallet txs instead of leaking their memory

fa5cef0f78 bench: Destroy wallet txs instead of leaking their memory (MarcoFalke)

Pull request description:

  This should destroy the wallet txs when the benchmark ends to avoid having to hold them when the following benchmarks run.

Tree-SHA512: e2510946e6a47fad3ec5fb28d298df8ddc2e017455fcff777fa7bbc12d801c08739db6a7a7289509aaa881ccdc59dfff9bcb6772b48db2c457d3787081a46c06

UdjinM6/dash,dashpay/dash,thelazier/dash,UdjinM6/dash,thelazier/dash,UdjinM6/dash,dashpay/dash,thelazier/dash,dashpay/dash,thelazier/dash,dashpay/dash,UdjinM6/dash,dashpay/dash,thelazier/dash,UdjinM6/dash