A federal judge has denied a request to release a man shot and wounded by immigration officers in New York