Triple-Encoders: Representations That Fire Together, Wire Together