[rpc] return effective-includes in testmempoolaccept and submitpackage
Summary:
Partial backport of core#26646:
https://github.com/bitcoin/bitcoin/pull/26646/commits/601bac88cb95404e7d38ac6348d959c0e06bd922
Depends on D16398.
Using TxId instead of WTxId.
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, roqqit
Reviewed By: roqqit
Subscribers: roqqit
Differential Revision: https://reviews.bitcoinabc.org/D16399