lint-ci-config: Generate jobs-metadata.json
We also now save the jobs-metadata.json and jobs.yaml file as artifacts as:
- It might be useful for someone who is modifying CI to copy jobs.yaml if they are having trouble regenerating locally.
- jobs-metadata.json is very useful for downstream pipelines to work out the right job to download.
Fixes #23654 (closed)