China wants South China Sea disputes resolved peacefully, but it must protect its maritime rights, China’s Xi said.