Scotland’s teachers are being balloted for strike action over a dispute on workloads and class contact time.