Bangladesh won the fourth T20 international against New Zealand by six wickets in Dhaka on Wednesday to secure victory in their five-match series.