The Academy Award–nominated screenwriter was detained in Tehran after signing a statement criticizing Iran's leadership; two other activists were also arrested.