From Amplitude Bootstrap to Cosmological Correlators