Context Word: quit. 
Question: PersonX but not PersonY was looking for a new job because _ wanted to quit working for the library. 
Answer: PersonX
PersonX but not PersonY was looking for a new job because _ did not want to quit working for the library.