Measurement of the cross section for inclusive isolated-photon production in pp collisions at s=13 TeV using the ATLAS detector