Foreign governments have joined Lebanon in condemning a violent attack on a UN peacekeeper convoy in Beirut that injured the mission's deputy commander.