extension_ci: Fix formatting check failing on grammar queries (#56788)

Since we download the grammars into the `./grammars` directory, the
formatting check can fail on unformatted query files that are present in
the grammars directory, as observed in
https://github.com/zed-extensions/log/pull/18

Thus, this PR changes the check to be more specific to just the queries
in the `languages` directory.

Release Notes:

- N/A
b058edab18Finn Evers committed on 5/14/2026, 7:17:01 PM· committed by GitHubparentffed860
3 files changedLine totals unavailable