Four people have been killed in a missile strike on a boarding school filled with civilians in the Ukrainian-controlled Kursk region of Russia, Ukraine's military has said.