Campaign events are generally not public forums, even if the candidate happens to also be an incumbent public official. For a federal official (and similar laws exist for state government), if the nexus with official government affairs required to make a public forum existed with a campaign event, that’d probably violate the Hatch Act separately from whether any violation of public forum law occurred.