Porzingis won Melo’s favor after telling him about his Anthony and A.I.-inspired cornrows