Foreign investors returned to Chinese stocks in April, signaling renewed appetite for the market after an initial selloff driven by the Iran war.