test: add P2PK support to MiniWallet
Summary:
This PR adds support for creating and spending transactions with raw pubkey (P2PK) outputs to MiniWallet
Backport of core#21945.
Only the changes to wallet.py are ported because we don't need it for feature_csv_activation.py.
Depends on D16405.
Test Plan:
ninja check-functional
Reviewers: #bitcoin_abc, PiRK
Reviewed By: #bitcoin_abc, PiRK
Subscribers: PiRK
Differential Revision: https://reviews.bitcoinabc.org/D16407