Generalized discord, entanglement, Einstein-Podolsky-Rosen steering, and Bell nonlocality in two-qubit systems under (non-)Markovian channels: Hierarchy of quantum resources and chronology of deaths and births