Heavy quark-antiquark potential from lattice QCD with light dynamical fermions