[avalanche] Add an accessor for the staked amount from a proof
Summary: This will be used to show some status in a new RPC.
Test Plan:
ninja check-avalanche
Reviewers: #bitcoin_abc, PiRK
Reviewed By: #bitcoin_abc, PiRK
Differential Revision: https://reviews.bitcoinabc.org/D11132