[avalanche] Add facility to build a vote item from an inventory
Summary:
This allows for a great simplification of the processor code.
There is no change in behavior.
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, sdulfari
Reviewed By: #bitcoin_abc, sdulfari
Differential Revision: https://reviews.bitcoinabc.org/D13066