No. Discarding the law does not itself remove that victory point.
A specific card may have a separate condition for losing its point; follow that card's wording.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.