Core/Maps: Allow logging players to enter in instances that have an encounter in progress

Together with https://github.com/TrinityCore/TrinityCore/pull/12045, helps solve https://github.com/TrinityCore/TrinityCore/issues/7427 and probably some other reports