Quasinormal modes of nonseparable perturbation equations: The scalar non-Kerr case