Scotland's teachers are preparing to vote on industrial action over workload and time spent in front of pupils.