GFlowNets for Active Learning Based Resource Allocation in Next Generation Wireless Networks