Resource Allocation in Hybrid Radio-Optical IoT Networks using GNN with Multi-task Learning