I think this is a missing feature from our LaTeX environment support in rmarkdown.
You should open a new feature request in R Markdown.
I don't think Pandoc will support the * in the class name, but we can add an attribute maybe like starred=true or another class .starred so that we know when to add this
:::{.multicols .starred data-latex="{2}"}
Lorem ipsum
:::