Lateral Casimir-Polder force on an atom in a T-odd state