Long-lived entanglement of neutral-atom chains by spin-exchange Rydberg interaction