UA will only check across separate tickets to UA and other Star Alliance carriers. CX is One World, so the answer is no.
You may certainly ask at SFO, but you should expect a "no" and have to check your bag with CX at HKG. No idea of your nationality, but UA will require documents for admissibility to HKG.