Adiabatic quantum simulation with a segmented ion trap: Application to long-distance entanglement in quantum spin systems