Poles awoke on Monday to the possibility of a new government, after the ruling nationalists looked to have fallen short of a parliamentary majority, potentially opening the way for opposition parties to seize power in what would be a huge shift.