Fix edit prediction disablement with `"disable_ai": true` setting (#35513)

Even after #35327 edit predictions were still being queried and shown
after setting `"disable_ai": true`

Also moves `DisableAiSettings` to the `project` crate so that it gets
included in tests via existing use of `Project::init_settings(cx)`.

Release Notes:

- Fixed `"disable_ai": true` setting disabling edit predictions.
899bc8a8fdMichael Sloan committed on 8/4/2025, 3:45:11 PM· committed by GitHubparentd577ef5
17 files changedLine totals unavailable