‘Flying focus’ laser overcomes key limitation in plasma-based particle accelerators