Convexity conditions on the boundary of a stationary spacetime and applications