The Three Hundred project: shapes and radial alignment of satellite, infalling, and backsplash galaxies