A Melbourne police officer has been charged over an alleged sexual assault of a woman at a Sydney hotel.