Ukraine has two months to restart peace talks or risk Russia escalating the war, the Czech president has said.