California lawmaker denies affairs after sexual discussion becomes public