wallet: Handle concurrent wallet loading
wallet: Handle concurrent wallet loading

Github-Pull: #19300
Rebased-From: b9971ae5853c1d62e09d976a8705f4f731290d85

DigitalPandacoin/pandacoin,monacoinproject/monacoin,qtumproject/qtum,qtumproject/qtum,GroestlCoin/GroestlCoin,GroestlCoin/bitcoin,GroestlCoin/bitcoin,ahmedbodi/vertcoin,GroestlCoin/bitcoin,qtumproject/qtum,ahmedbodi/vertcoin,vertcoin/vertcoin,ahmedbodi/vertcoin,GroestlCoin/bitcoin,peercoin/peercoin,DigitalPandacoin/pandacoin,peercoin/peercoin,monacoinproject/monacoin,vertcoin/vertcoin,GroestlCoin/GroestlCoin,DigitalPandacoin/pandacoin,monacoinproject/monacoin,qtumproject/qtum,vertcoin/vertcoin,GroestlCoin/GroestlCoin,GroestlCoin/GroestlCoin,qtumproject/qtum,DigitalPandacoin/pandacoin,peercoin/peercoin,GroestlCoin/GroestlCoin,GroestlCoin/bitcoin,ahmedbodi/vertcoin,vertcoin/vertcoin,monacoinproject/monacoin,ahmedbodi/vertcoin,ahmedbodi/vertcoin,DigitalPandacoin/pandacoin,monacoinproject/monacoin,peercoin/peercoin,GroestlCoin/GroestlCoin,GroestlCoin/bitcoin,peercoin/peercoin,peercoin/peercoin,qtumproject/qtum,qtumproject/qtum,vertcoin/vertcoin,monacoinproject/monacoin,vertcoin/vertcoin,DigitalPandacoin/pandacoin