Fix flatten of Sequence feature type
The `Sequence` features type is not correctly flattened if it contains a dictionary. This PR fixes this, and I added a test case for this.

Close https://github.com/huggingface/datasets/issues/3795
_The documentation is not available anymore as the PR was closed or merged._