GW190521 formation via three-body encounters in young massive star clusters