Two speeches in Poland show how Trump is honing his foreign-policy checklist for his fans