Towards the n-point one-loop superstring amplitude. Part II. Worldsheet functions and their duality to kinematics