Australia's highest court rejects mosque challenge