Implement SQLiteBatch::Close
Summary:
This is a backport of core#19077 [9/26]
https://github.com/bitcoin/bitcoin/pull/19077/commits/6636a2608a4e5906ee8092d5731595542261e0ad
Depends on D10551
Test Plan:
With clang-tidy:
ninja
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10552