iPhone X sets a new record for resale value