The arrest is one of several examples of state officials trying to restrain lawmakers or onlookers as legislative sessions begin in 2025