[backport#17154 3/3][wallet] Remove state argument from CWallet::CommitTransaction
The state return argument has not been set since commit 611291c198.
Remove it (and the one place that it's used in a calling function).
Depends on D7113
Concludes backport of Core PR17154
ninja check check-functional
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Subscribers: deadalnix, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D7114