Law firms face a "ticking timebomb of pressure" in the war for talent, a recruitment agency has warned.