Trajectory Flow Matching with Applications to Clinical Time Series Modeling