Every year, as Feb. 14 approaches, conservative and Islamist parties in Muslim-majority Pakistan hold events and rallies to denounce Valentine’s Day celebrations in the country as against Islam and traditional values.

This year, the groups have a high-profile ally: Pakistani President Mamnoon Hussain.

“Valentine’s Day has no connection with...