Burned-out workers sick of toxic bosses are using medical leave as a sneaky extended vacation to job hunt—and it’s not actually illegal