Implement a function to add KeyOriginInfo to a wallet
Summary:
Partial backport of Core PR14021
https://github.com/bitcoin/bitcoin/pull/14021/commits/3d235dff5df106070e41e3a99cf9fb847a27e14a
Depends on D6228
Test Plan:
ninja
Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix
Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D6229