Rotational state analysis of AlH+ by two-photon dissociation