Not all moisture wicking material dry at the same rate. Why yours did not dry in 36 hours is not known. If the towel dried before the bike shorts then you have a problem in the material of your shorts.
Hang drying does not work well in an air conditioned building. The exact reason why it doesn't I am not sure, but evaporation works with heat (radiation) and wind.