BEIRUT, Lebanon — With Syria’s civil strife coursing through major cities and convulsing neighboring countries, the Turkish military sounded a somber warning on Wednesday that it may respond more forcefully after days of shelling from Syria.