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