Operational resource theory of nonclassicality via quantum metrology