Queen Letizia’s surprise visit to see her daughter, Princess Leonor, on naval duty in Panama became one of the most heartfelt episodes of the Spanish monarchy’s modern chapter.