Disgraced King Juan Carlos I is satirised in new play ‘inspired by his real-life words’ – in which his character says being head of state is a ‘s*** job’ and he ‘puts up’ with Letizia and Sofia