Sectorial extensions for ultraholomorphic classes defined by weight functions