[Chronik] Upgrade pyo3 to 0.22
Summary:
0.22 introduced a lot of breaking changes (especially with the move from &references to the Bound wrapper), so it's better to do it now.
Depends on D16522.
Test Plan: ninja check-crates && ninja check-functional
Reviewers: Fabien, #bitcoin_abc, PiRK
Reviewed By: #bitcoin_abc, PiRK
Differential Revision: https://reviews.bitcoinabc.org/D16523