Dynamics of a Majorana Trijunction in a Microwave Cavity