make FindBlockToFinalize a CChainState member
Summary: The function needs the chainstate, and previously relied on ::ChainstateActive()
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D11744