Shai Hope hit a superb century to lead the West Indies to an eight-wicket win against Sri Lanka in Antigua.