L∞-algebras from multicontact geometry