Federated generalized scalar-on-tensor regression