Wait for remote proof messages in functional tests
Summary:
The abc_p2p_avalanche_remote_proofs waits for peers to get properly connected since D17387.
This diff now waits for the messages to be received. This is especially relevant during handshake where the peers can be connected but not completed the avaproof exchange yet on slow machines.
Test Plan:
./test/functional/test_runner.py abc_p2p_avalanche_remote_proofs
Reviewers: #bitcoin_abc, PiRK
Reviewed By: #bitcoin_abc, PiRK
Differential Revision: https://reviews.bitcoinabc.org/D17392