```
This PR adds support for creating and spending transactions with raw pubkey (P2PK) outputs to MiniWallet
```
Backport of [[https://github.com/bitcoin/bitcoin/pull/21945 | core#21945]].
Only the changes to wallet.py are ported because we don't need it for feature_csv_activation.py.