Brathwaite stars as Windies end Test win drought