The Democratic governor is navigating a political world dominated by Trump and Mamdani as she runs for reelection.