Ukraine’s president, Volodymyr Zelenskyy, held talks with his Polish counterpart, Karol Nawrocki, in Warsaw on Friday for the first time since the latter took office, a meeting shaped less by protocol than by an unresolved historical dispute that defines relations between Kyiv and Warsaw.