Poland's voters reject their right-wing government, but many challenges lie ahead