$\theta$-derivations on $JB^*$-triples