Random walks, entropy and hopfianity of free groups