How GSK CEO Emma Walmsley kept her job and turned a belligerent activist investor into an ally