Hidden entanglement, system-environment information flow and non-Markovianity