Exit bans have left foreign executives stuck inside the country—often with no idea when they will be allowed to leave.