A powerful teachers’ union has warned a Dutton government “is the biggest risk to the future of this nation” as a $4.8bn education deal hangs in the balance.