[avalanche] Refactor the PeerManager
Summary: This keeps structure better in sync with how the code has evolved over time.
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Subscribers: jasonbcox
Differential Revision: https://reviews.bitcoinabc.org/D8606