The star plays an ex-president who returns to serve his country after a deadly cyber attack