Ukrainian president says he won’t recognize any agreements about the war reached without his country.