test: Remove unused lock arg from BitcoinTestFramework.wait_until
Summary:
This is a backport of core#19816 [2/2]
https://github.com/bitcoin/bitcoin/pull/19816/commits/fa1cd9e1ddc6918c3d600d36eadea71eebb242b6
Depends on D10168
Test Plan: ninja check-functional-extended
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10169