Testing the Universality of the Stellar IMF with Chandra and HST