Friday’s visit to King Charles and Queen Camilla signaled a détente in relations with Prince Harry and his wife, who renounced their royal titles and moved to the United States in 2020.