Buckingham Palace announced late Thursday that the queen would not attend a thanksgiving church service Friday, after experiencing “some discomfort” at events on Thursday.