Detained Palestinian activist Mahmoud Khalil was honoured at an alternative graduation ceremony in New York.