FIX: Move queryParams to each discovery controller rather than shared (PR #10424)

This fixes issues where params previously would not reset between routes. For example if you added max_posts=1 to /latest and then went to a category.

GitHub

The usual idiom for these import is:

import { inject as service } from "@ember/service";
import deprecated from "discourse-common/lib/deprecated";

const controllerOpts = {
  discovery: controller(),
  discoveryTopics: controller("discovery/topics"),
  router: service(),