The world’s second-largest economy grew 4.5 percent in the final quarter, data shows.