Use --plugins to include plugin-provided repos

This adds ``--plugins`` to several repoquery calls, allowing results from
plugin-provided repositories to be returned.

Fixes #11050, as well as fixing ``pkg.latest_version`` which was not reported in that issue, but also suffered from the same problem.