More than 24 hours counts as a stopover. I'm not sure if CX will check your bags through in that case.
I believe that your assumption of no J lounge access at MEL on the way back is correct, but you might get lucky if the transit in HKG is less than 24 hours.