Kinas utrikesminister sade till sin israeliska motsvarighet att attackerna mot Iran borde stoppas.