Trailer maker Wabash National narrowed its loss in the second quarter on significantly higher trailer sales.