Sri Lanka recorded their first win of the NatWest Tri-Series with a 23-run victory over England at Old Trafford.