Mechanically induced Helfrich-Hurault effect in a confined lamellar system with finite surface anchoring