Folding a Single-Molecule Junction