Country faces assaults from militias in Iraq, Hizbollah and Israel’s military as its fledgling government seeks to sit out conflict