Dynamical structure factors in analog quantum simulators