test: Run rpc_txoutproof.py even with wallet disabled
Summary:
This brings the test duration down from 2 seconds to 1 second.
This is a backport of core#19922 [2/4]
https://github.com/bitcoin/bitcoin/pull/19922/commits/fa56e866e8ac08b35e775a4e37a4e5849e093c7d
Depends on D10254
Test Plan: ninja check-functional
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10255