Turkey and the U.S. warned that a major Syrian border city was in imminent danger of falling to Islamic State, with the two countries putting the onus on the other to halt the extremist group’s advance.