Iowa court upholds gender identity discrimination case