ProtTeX: Structure-In-Context Reasoning and Editing of Proteins with Large Language Models