Endosomal trafficking and DNA damage checkpoint kinases dictate survival to replication stress by regulating amino acid uptake and protein synthesis