[CI] Migrate the CI to use cmake and ninja
Summary:
This diff migrates all existing build configurations to use cmake and
ninja, and adds a new configuration to run the build with autotools in
order to prevent regressions.
Depends on D4719 (fix the Qt tests with no wallet).
Test Plan: Run all the CI builds.
Reviewers: #bitcoin_abc, deadalnix, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Subscribers: jasonbcox
Differential Revision: https://reviews.bitcoinabc.org/D4711