The Justice Department is examining whether scandal-plagued German payment company Wirecard played a critical role in an alleged $100 million bank-fraud conspiracy connected to an online marijuana marketplace, according to people familiar with the investigation.