Texas judge takes voter ID to court