The future of a historic $4.8bn agreement on the education of millions of Aussie students hangs in the balance if Peter Dutton is elected, NSW’s teachers’ union has warned.