Australian swimmer Shayna Jack tests positive for a banned substance before the World Aquatics Championships, Swimming Australia has said.