Tokyo’s campaign encouraging male workers to wear shorts to beat the heat is drawing sharp criticism—and highlighting a glaring double standard in workplace dress codes.