A primary school principal has been stood aside over a graphic sex education class given to Year 6 students without their parents’ consent.