Tens of thousands of people have gathered in Beirut to attend the funeral of Hezbollah’s leader nearly five months after he was killed in an Israeli airstrike on a southern suburb of the capital.