Global viscosity solutions for eikonal equations on class A Lorentzian 2-tori