ci: test the language tool and recheck PRs retargeted to next
Run the language tool's unit tests in the generated sources workflow, and
also run it when a pull request is edited, so a PR that is retargeted from
main to next is checked without needing another push.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>