In a break with tradition, Queen Mary attended the ceremony in a show of support for her son