Qatar court upholds poet's jail sentence