[avalanche] Integrate the IBD check into the quorum check
Summary:
Because the proofs can't be relied upon until we are synced, considering the quorum valid before the end of IBD is a non sense. This will also prevent the node from voting when not synced (added test).
Depends on D11618.
Test Plan:
ninja check-all
Reviewers: #bitcoin_abc, sdulfari
Reviewed By: #bitcoin_abc, sdulfari
Differential Revision: https://reviews.bitcoinabc.org/D11619