China stocks hit 3-month lows as tech sell-off drags mainland markets