Sri Lankan court bans ex-PM Rajapaksa, son from leaving country