BEIRUT — Israeli warplanes struck a military position near the Mediterranean coast in western Syria on Thursday, killing two soldiers, the Syrian army said, in a stronghold of President Bashar Assad that is also heavily protected by the Russians and Iranians. The air strike targeted a facility near the town of Masyaf, in Hama province, described by some as a missile producing factory, amid Israeli outrage over Iran’s growing influence in the war-torn country. Other reports suggested the facility was tied to Syria’s chemical weapons program.