Ligand concentration regulates the pathways of coupled protein folding and binding