Dust and molecules in the Local Group galaxy NGC 6822. III. The first-ranked HII region complex Hubble V