Trent Rockets beat Welsh Fire by four wickets to secure their third successive victory in The Hundred.