wallet: Recognize -disablewallet option early
Summary:
PR description:
This PR makes early check for the -disablewallet option.
If -disablewallet=1, objects PaymentServer and WalletController are nor created.
Backport of Core PR16436
Test Plan:
ninja && ninja check
src/qt/bitcoin-qt -disablewallet
Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix
Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix
Subscribers: deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D7889