I don't see anything in
the CT motor vehicle statues specifically prohibiting motorcycle stunting (although I did only take a quick look). Reckless operation would definitely apply to actual stunting on a public road, but I find it hard to believe that adjusting your damn clothing would (well, unless you were doing it while in traffic and managing an intersection or something else that required both hands and your full attention).
Not that it would be the first time an LEO was misinformed of a particular law (my personal favorite is my father getting pulled over for what amounted to intent to use in-line skates, but that's another story).