Police foil ‘attack’ on school in Australia