Public school teachers in South Australia have voted to strike next week in the middle of year 12 exams unless the state government bumps up its pay offer.