Japan's government said it would quarantine a Yokohama-bound cruise ship after a Hong Kong man who sailed on it tested positive for coronavirus.