A Direct-Adjoint Framework For Stability And Sensitivity Analyses Of Turbomachinery Aeroacoustics