Knot Homologies and BPS States