Nike posted a second straight quarterly decline in gross margins, as weak sales in China continued to weigh on the sportswear giant, sending its shares down.