Visitors need to win the five-match ODI series by a margin of 5-0 or 4-0 for direct qualification for the 2019 global event.
MS Dhoni scored 79 runs and took 2 catches with a stumping, while Hardik Pandya blasted 83 and scalped 2 wickets.
Duo picked up six English batsmen as visitors defended 176 to win the one-off T20I after Gayle and Lewis set the agenda.
After won 9-0 in all format in Sri Lanka now face world champion and ODI no.1 team Australia.
The third and final Twenty20 International turned out to be a one-sided affair with Pakistan sealing a 33-run win over World XI at the Gaddafi Stadium on Friday
The India opener has asked for leave to look after his wife, who is unwell.
While Amla anchored the chase with a half-century, the series-levelling victory was made possible courtesy Thisara unbeaten 19-ball 47.
Ireland - West Indies one-off ODI at Stormont is abandoned after rain at lunchtime finally puts paid to hopes of any play.
Pakistan Tuesday took a giant step towards reviving international cricket at home with a 20-run victory over the World XI in Lahore.
Matches are scheduled on June 12 and 13 in Edinburgh, following one-off ODI with England on June 10.