Lithuania's ruling parties have agreed on a three-year plan for incrementally raising teachers' wages as unions continue to strike.