South Korea’s president said tragedy and “loneliness” drove her to rely on a shadowy female confidante