The investigation into the leak of classified U.S. secret documents has overshadowed much of President Joe Biden’s visit to his ancestral home and time with leaders of Ireland and the U.K.