An Allen & Overy London partner has resigned from the firm after a video of him kissing a junior female colleague circulated over the summer.