Lydia Ko captured her third major title — and first in eight years — by breaking free from a logjam of world-class talent to win the Women’s British Open by two strokes at the home of golf on Sunday, capping a summer when she also took gold at the Olympic Games.