Lawsuit issues safety at New York ‘prison nursing home’