[backport#17138 1/2][wallet] Remove package limit config access from wallet
Summary:
The wallet should not be able to directly access global configuration
from the node. Remove access of "-limitancestorcount" and
"-limitdescendantcount".
https://github.com/bitcoin/bitcoin/pull/17138/commits/eea462de9c652dca556ad241d2126b10790f67f8
Partial backport of Core PR17138
Test Plan:
ninja check check-functional
Reviewers: #bitcoin_abc, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Differential Revision: https://reviews.bitcoinabc.org/D7090