Probing an excited-state atomic transition using hyperfine quantum-beat spectroscopy