A twisted invariant Paley-Wiener theorem for real reductive groups