WARSAW — Poland's new prime minister Wednesday signaled a coming shift in her government's foreign policy, saying Warsaw would assume a more hands-off approach to the separatist conflict in Ukraine and would focus on its own security rather than the fate of its eastern neighbor.