A former science teacher at a private Brisbane boys’ school is standing trial accused of indecent treatment of a male student at the school more than 20 years ago.