Signatures of hydrophobic collapse in extended proteins captured with force spectroscopy