COOP-DHGNN: a Framework for Joint Classification and Prediction of Brain Functional Connectivity Using Sparse Trajectory Dataset with Application to Early Dementia