Training Normalizing Flows from Dependent Data