Change the wallet_backup.py test to use the restorewallet RPC command instead of restoring wallets manually.
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/22541 | core#22541]]
Depends on D12776
Minor differences from source material are caused by the missing std::filesystem backport