The poor, and sometimes forced and contrived execution of an LGBT or female or a non-white character does really seem unnecessary. To me as an indian, sometimes it looks like the white man's guilt is showing when they even rewrite historical characters and insert such characters doing things that they would never have been able to do (e.g. the enjoyable but oh so historically inaccurate heroine of Miss Scarlet and the Duke - in her period, she would have probably been committed to a mental institute for the things she does in the show. Or the deliberate ignorance of "victorian" values in British society in some recent "historical" dramas, just to show some character doing things that would be really out of character for them in their period - Indeed, one wonders why such obvious white-washing of history in such a crude manner?).
As a someone who is not an American but enjoys American tv, sometimes I feel that the reason such characters are deliberately shown poorly (with lousy acting or writing), is because even show makers resent being forced to include such character. Obviously this doesn't help.
If a story requires an LGBT character go for it. If it requires a person of colour, great. But they do need to get a good actor and make sure the writing and the direction all add value to that character in the show without any blatant sermonising (show, not tell, at least on shows for grownups). It's not as if the American media doesn't know how to do this - there have been so many good characters, even main characters from such vulnerable group portrayed beautifully in past TV shows.
(Or perhaps, I am wrong - all this has nothing to do with inclusive politics and is just a way to manufacture outrage and keep the American public distracted from the real political issues).