Fix flatten of Sequence feature type
_The documentation is not available anymore as the PR was closed or merged._
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