Sportswear giant Nike has offered an optimistic outlook as it booked higher first-quarter earnings and strong sales gains in China.