Effects of a soft x-ray background on structure formation at high redshift