Charities warn of risks to disabled people’s rights in landmark Supreme Court case