The majority of a panel of Supreme Court justices voted to convict the far-right former Brazilian leader of trying to overturn his election defeat to Lula da Silva in 2022.