The origin of static friction in ultrathin liquid films