Crystal structure of ancestral apicomplexan lactate dehydrogenase with sulfate.