Lebanese security forces have detained retired Syrian Major General Bassam al-Hassan in Beirut under a French warrant for the 2013 Ghouta chemical attacks.