[backport#16839] Pass NodeContext, ConnMan, BanMan references more places
Summary:
So g_connman and g_banman globals can be removed next commit.
https://github.com/bitcoin/bitcoin/pull/16839/commits/e6f4f895d5e42feaf7bfa5f41e80292aaa73cd7d
Partial backport of Core PR16839
Test Plan:
ninja check-all ninja
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D6409