China has lodged a protest with Myanmar after stray shells injured five people in a Chinese border town.