net, refactor: Move AddLocal call one level up
Summary:
This change simplifies the following commit.
This is a backport of core#19991 [6/8]
https://github.com/bitcoin/bitcoin/pull/19991/commits/92bd3c1da48d17c8ba20349e18ad19051614bc1a
Depends on D10448
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, majcosta
Reviewed By: #bitcoin_abc, majcosta
Subscribers: majcosta
Differential Revision: https://reviews.bitcoinabc.org/D10449