Ukrainian President Volodymyr Zelensky has accepted an invitation to attend the next NATO summit in July, but he will arrive with expectations that the alliance is ready to pave the way for the country’s accession to the military alliance, even as the state of the war itself remains crucial to the decision.