Egypt has denied permission for an Israeli container ship needing repairs to dock at a port at the southern tip of the Suez Canal.