The 10-year-old was at Wattawa Heights Public School in Bankstown, in Sydney's west, when the alleged incident occurred