Poland’s president, Andrzej Duda, is seeking a second term in an election Sunday. The ballot will test whether voters share his plans of implementing his agenda, including judicial reforms that the European Union claims undermine democracy.