Improve CWallet API with new GetAccountPubkey function.
Remove one more caller that is passing CWalletDB.