An optical transmission spectrum for the ultra-hot Jupiter WASP-121b measured with the Hubble Space Telescope