Workmanlike Karunaratne steers Sri Lanka closer to draw against Windies