Optomechanical interface between telecom photons and spin quantum memory