Text this: Model of contact friction based on extreme value statistics