Tyrese Maxey flirted heavily with a 32-point triple-double as Joel Embiid returned after a five-game absence.