Wallets unloaded dynamically will be reflected in the gui.
Partial backport of Core PR13111
https://github.com/bitcoin/bitcoin/pull/13111/commits/0ee77b20771fe34f8dbde6b16d7e2637859baec3
Reviewer note: we migrated from boost::bind to std::bind in D4133.
Depends on D4253