[bitcoin/bitcoin] fix walletcreatefundedpsbt deriv paths, add test (#14055)

Added the regression in #13968
You can view, comment on, or merge this pull request online at:

https://github.com/bitcoin/bitcoin/pull/14055

— Commit Summary —

* fix walletcreatefundedpsbt deriv paths, add test

— File Changes —

M src/wallet/rpcwallet.cpp (2)
M test/functional/rpc_psbt.py (10)

— Patch Links —

https://github.com/bitcoin/bitcoin/pull/14055.patch
https://github.com/bitcoin/bitcoin/pull/14055.diff