The outgoing deputy commander of the UN peacekeeping force in Lebanon has been injured after protesters attacked a convoy near Beirut airport.