Fluctuating stripes at the onset of the pseudogap in the high-Tc superconductor Bi2Sr2CaCu2O8+x