All-optical scheme for detecting the possible Majorana signature based on QD and nanomechanical resonator systems