Distribution Regression for Sequential Data