During an investiture at Windsor, the monarch made a poignant comment about the war in the Middle East, just hours before confirming his controversial US state visit