Judge rejects challenge from Gitmo detainee