Cadbury owner wins High Court appeal over paid leave