Daria Kasatkina has dug deep to become the first Australian winner on day five of the US Open at Flushing Meadows.