Australian opposition leader Sussan Ley is facing a leadership challenge less than a year into the role, after a senior figure in her shadow cabinet resigned.