Liberal Party apologizes to Speaker for partisan ad