Teaching union fails to secure enough support for strike