Hamilton sprints to first WorldTour victory