Short answer: 20ft of 12 awg cable is fine.
long answer:
A 12awg wire is rated up to 20amp (I am assuming you're in USA and you don't use special 20amp outlet) but your wall outlet could only provide 15amp max at 120v. That's 1800w max
Consider about 90% efficiency of Class D amp and you have 1620w max you could deliver to your speaker at best. That said, only 1600w would still likely be more enough to knock down or shift few walls and rattle windows out,