Soft-gluon resummation for slepton-pair production at hadron colliders