Lebanon’s caretaker prime minister has asked Iran to help secure a ceasefire in the war between Israel and Hezbollah and appeared to urge it to convince the militant group to agree to a deal that could require it to pull back from the Israel-Lebanon border.