Nanomechanical absorption spectroscopy of 2D materials with femtowatt sensitivity