The 2-Core of a Random Inhomogeneous Hypergraph