LEGATO: Cross-Embodiment Imitation Using a Grasping Tool