Removes wallet access to -limitancestorcount, -limitdescendantcount and -prune:
-limitancestorcountand-limitdescendantcountare now accessed with a methodgetPackageLimitsin theChaininterface.-pruneis not required. It was only used in wallet component initiation to prevent running-rescanwhen pruning was enabled. This check is not required.
Partially addresses #17137.

