The warm, the excited, and the molecular gas: GRB 121024A shining through its star-forming galaxy