Phases of Lagrangian-invariant objects in the derived category of an abelian variety