Lenz, Rodolfo, Profesor del Instituo Pedagójico, Chile