refactor: Pass wallet database into CWallet::Create
Summary:
No changes in behavior
This is a backport of core#19619 [5/8]
https://github.com/bitcoin/bitcoin/pull/19619/commits/8b5e7297c02f3100a9cb27bfe206e3fc617ec173
Depends on D10227
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10228