Cougars’ Maegli wins national sailing title