A Republican lawmaker apologized Saturday for tweeting profanity in response to a statement from the Maryland General Assembly’s top leadership, stating she meant to privately send the message to a close friend.