Nanospectroscopy of single quantum dots with local strain control using a phase-change mask