Discovering Robotic Interaction Modes with Discrete Representation Learning