An Alternating Direction Implicit Method for Solving Projected Generalized Continuous-Time Sylvester Equations