LOME, TOGO — After Saturday’s surprise attack of Israel by Hamas militants, in the West African country of Togo, some residents of Lome condemned the violence against civilians, while others called for a two-state solution to put an end to the escalation.