A transport approach to sequential simulation-based inference