Mayor Adams' mental health plan faces first legal battle