Hi In-House!
a union leave means an "absence from the performance of an employee’s public duties as a member of the classified civil service to engage in union activities", so, your translation is pretty good although I prefer "licencia
con fines gremiales/sindicales"
another version could be: "licencia para actividades sindicales"
Hope it helps!
