test: Update wait_until usage in tests not to use the one from utils
Summary:
Using the global wait_until makes it impossible to adjust the timeout based on the hardware the test is running on.
test: Update wait_until usage in tests not to use the one from utils
Replace "wait_until()" usage from utils, with the ones from BitcoinTestFramework and P2PInterface.
closes #19080
test: Add docstring to wait_until() in util.py to warn about its usage
This is a backport of core#19752
Test Plan: ninja check-functional-extended
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10128