CAIRO—An Egyptian court on Sunday rejected a complaint by the Japanese owner of a container ship that blocked traffic in the Suez Canal for six days in March against the vessel’s continued detention by canal authorities, a lawyer said. The Ever Given, one of the world’s largest container ships, became jammed across the canal in…