PM’s longtime running mate issues warning after foreign minister suggested two-state solution could be discussed once government rotates and he is standing at helm of affairs