Crystal structure and mechanism of a type III secretion protease