Lion Electric, which entered creditor protection last month and is seeking a buyer, has halted operations and laid off most of its workers.