[avalanche] Add a way to retrieve all proof ids in a proofpool
Summary: Currently unused. This will be used to fetch proof ids via RPC.
Test Plan:
ninja check
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D11999