Missouri substitute teacher accused of pulling knife on student