Millions of Ukrainians living in Poland could become a key issue in next year’s parliamentary election as the mood on the political right shifts against Kyiv.