[Backport]test: replace (send_message + sync_with_ping) with send_and_ping
Summary:
Backport of Bitcoin Core PR18494
This follows D6432
Test Plan: ninja && ./test/functional/test_runner.py
Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien
Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D7545