Soliton resolution for the short-pulse equation