Add HaveChain to assert chain access for wallet-tool in LoadToWallet.
Backport of Core [[https://github.com/bitcoin/bitcoin/pull/16426 | PR16426]] part [2/5] : https://github.com/bitcoin/bitcoin/pull/16426/commits/de13363a472ea30dff2f8f55c6ae572281115380
Depends on D7934